//
//  GSOrderButton.m
//  GameSky
//
//  Created by lanou on 16/1/13.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import "GSOrderButton.h"

@implementation GSOrderButton

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

+ (id)orderButtonWithViewController:(UIViewController *)vc titleArr:(NSArray *)titleArr{
    GSOrderButton  *orderButton = [GSOrderButton buttonWithType:UIButtonTypeCustom];
    [orderButton setVc:vc];
    [orderButton setTitleArr:titleArr];
    
//    [orderButton setFrame:CGRectMake(KOrderButtonFrameOriginX, KOrderButtonFrameOriginY, KOrderButtonFrameSizeX, KOrderButtonFrameSizeY)];
    
    return orderButton;
    
}



@end
